package xyz.comfyz.web.commons.framework.result;

/**
 * @author :    comfy
 * @date :      2018-05-12 16:04:49
 * @since :     1.8
 * <p>
 * 基础响应消息体
 */
public class SimpleErrorMessage implements ErrorMessage {

    private final int code;

    private final String msg;

    public SimpleErrorMessage(int code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public int getCode() {
        return code;
    }

    public String getMsg() {
        return msg;
    }
}
